<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:83:"D:\Code\matian\matian\application\admin\view\bootstrap\game_gift_package\index.html";i:1497112021;}*/ ?>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>游戏礼包</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">首页</a>
            </li>

            <li class="active">
                <strong>游戏礼包</strong>
            </li>
        </ol>
    </div>

</div>

<div class="wrapper wrapper-content animated fadeInRight ecommerce">

    <div class="ibox-content m-b-sm border-bottom" id="form1">
        <div class="row">
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="gift_package_name">游戏礼包名称</label>
                                        <input type="text" id="gift_package_name" name="gift_package_name" placeholder="游戏礼包名称"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="gift_package_deadline">领取开始时间</label>
                                        <input type="text" id="gift_package_deadline" name="gift_package_deadline" placeholder="领取开始时间"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="gift_package_start_time">领取结束时间</label>
                                        <input type="text" id="gift_package_start_time" name="gift_package_start_time" placeholder="领取结束时间"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="gift_package_num">礼包数量</label>
                                        <input type="text" id="gift_package_num" name="gift_package_num" placeholder="礼包数量"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="gift_package_content">礼包内容</label>
                                        <input type="text" id="gift_package_content" name="gift_package_content" placeholder="礼包内容"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="gift_package_status">礼包状态</label>
                                        <input type="text" id="gift_package_status" name="gift_package_status" placeholder="礼包状态"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="gift_package_img">礼包图片</label>
                                        <input type="text" id="gift_package_img" name="gift_package_img" placeholder="礼包图片"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="get_way">领取方式</label>
                                        <input type="text" id="get_way" name="get_way" placeholder="领取方式"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="get_serial_number">礼包序列号</label>
                                        <input type="text" id="get_serial_number" name="get_serial_number" placeholder="礼包序列号"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="recharge_start_time">充值开始时间</label>
                                        <input type="text" id="recharge_start_time" name="recharge_start_time" placeholder="充值开始时间"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="recharge_start_end">充值结束时间</label>
                                        <input type="text" id="recharge_start_end" name="recharge_start_end" placeholder="充值结束时间"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="vaild_recharge_amount">期间充值金额</label>
                                        <input type="text" id="vaild_recharge_amount" name="vaild_recharge_amount" placeholder="期间充值金额"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="package_get_discrible">领取范围描述</label>
                                        <input type="text" id="package_get_discrible" name="package_get_discrible" placeholder="领取范围描述"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="game_id">游戏id</label>
                                        <input type="text" id="game_id" name="game_id" placeholder="游戏id"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="enterprise_id">企业id</label>
                                        <input type="text" id="enterprise_id" name="enterprise_id" placeholder="企业id"
                           class="form-control">
                                    </div>
            </div>
                    </div>
        <div class="row">
            <div class="col-sm-6">
                <a class="btn btn-success btn-outline" href="#<?php echo U('form'); ?>">
                    <i class="fa fa-edit"></i>
                    <span class="bold">添加</span>
                </a>
            </div>
            <div class="col-sm-6 text-right">
                <button class="btn btn-default" data-op="reset">
                    <i class="fa fa-refresh"></i>
                    <span class="bold">重置</span>
                </button>
                &nbsp;
                &nbsp;
                <button class="btn btn-primary" data-op="search">
                    <i class="fa fa-search"></i>
                    <span class="bold">查询</span>
                </button>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" id="footable">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(document).ready(function () {
        YFootTable.create('#footable', {
            baseUrl: "<?php echo U('GameGiftPackage/'); ?>",
            searchForm: '#form1',
            columns: [
                {name:'gift_package_name',title:'游戏礼包名称',sortable: true}
				,{name:'gift_package_deadline',title:'领取开始时间',sortable: true,breakpoints:'xs sm md'}
				,{name:'gift_package_start_time',title:'领取结束时间',sortable: true,breakpoints:'xs sm md'}
				,{name:'create_time',title:'创建日期',sortable: true,breakpoints:'xs sm md'}
				,{name:'gift_package_num',title:'礼包数量',sortable: true,breakpoints:'xs sm md'}
				,{name:'gift_package_content',title:'礼包内容',sortable: true,breakpoints:'xs sm md'}
				,{name:'gift_package_status',title:'礼包状态',sortable: true,breakpoints:'xs sm md'}
				,{name:'gift_package_img',title:'礼包图片',sortable: true,breakpoints:'xs sm md'}
				,{name:'get_way',title:'领取方式',sortable: true,breakpoints:'xs sm md'}
				,{name:'get_serial_number',title:'礼包序列号',sortable: true,breakpoints:'xs sm md'}
				,{name:'recharge_start_time',title:'充值开始时间',sortable: true,breakpoints:'xs sm md'}
				,{name:'recharge_start_end',title:'充值结束时间',sortable: true,breakpoints:'xs sm md'}
				,{name:'vaild_recharge_amount',title:'期间充值金额',sortable: true,breakpoints:'xs sm md'}
				,{name:'package_get_discrible',title:'领取范围描述',sortable: true,breakpoints:'xs sm md'}
				,{name:'game_id',title:'游戏id',sortable: true,breakpoints:'xs sm md'}
				,{name:'enterprise_id',title:'企业id',sortable: true,breakpoints:'xs sm md'}
            ],
            actions: ['view', 'edit', 'remove']
        });
    });
</script>